import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:super_person_app/routes/app_routes.dart';

import 'splash_logic.dart';

class SplashPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    final logic = Get.find<SplashLogic>();
    final state = Get.find<SplashLogic>().state;

    return Column(
      mainAxisAlignment: MainAxisAlignment.center,
      children: [
        ElevatedButton(onPressed: (){
          Get.offAndToNamed(Routes.frame);
        }, child: Text("进入首页"))
      ],
    );
  }
}
